#include "../include/header.h"
int main(int argc, char* argv[]){
    int pipe_fd = open("1.pipe", O_RDONLY);

    while(1){
        char buf[1024] = {0};

        read(pipe_fd, buf, sizeof(buf));

        printf("read once \n");
        sleep(2);
    }

    return 0;
}